import instance from "@/http/index"

// 注册

export const uploadSwipper = data => {
    return instance({
        url: "/set/uploadSwipper",
        method: "POST",
        data
    })
}

// 登录

export const getSwipperList = data => {
    return instance({
        url: "/set/getSwipperList",
        method: "POST",
        data
    })
}

// 忘记密码验证
export const getCompanyName = data => {
    return instance({
        url: "/set/getCompanyName",
        method: "POST",
        data
    })
}

// 密码重置
export const changeCompanyName = data => {
    return instance({
        url: "/set/changeCompanyName",
        method: "POST",
        data
    })
}

export const changeCompanyIntroduce = data => {
    return instance({
        url: "/set/changeCompanyIntroduce",
        method: "POST",
        data
    })
}

export const getCompanyIntroduce = data => {
    return instance({
        url: "/set/getCompanyIntroduce",
        method: "POST",
        data
    })
}

export const getCompanyIntroduceAll = data => {
    return instance({
        url: "/set/getCompanyIntroduceAll",
        method: "POST",
        data
    })
}